package com.ruoyi.item.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 京东SKU与SPU对照对象 item_sku_spu
 * 
 * @author ruoyi
 * @date 2022-03-23
 */
public class ItemSkuSpu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** SPU */
    @Excel(name = "SPU")
    private String spu;

    /** SKU */
    @Excel(name = "SKU")
    private String sku;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 假删除 */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSpu(String spu) 
    {
        this.spu = spu;
    }

    public String getSpu() 
    {
        return spu;
    }
    public void setSku(String sku) 
    {
        this.sku = sku;
    }

    public String getSku() 
    {
        return sku;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("spu", getSpu())
            .append("sku", getSku())
            .append("goodsName", getGoodsName())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
